package com.example.springmvc_study.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName ArticleController
 * @Description TODO
 * @Author H.
 * @Date 2023/4/24 20:25
 * @Version 1.0
 */
@RestController
public class ArticleController {
    @RequestMapping("/a1")
    public Object u1(){
        Map<String,Object> map = new HashMap<>();
        map.put("a",123);
        map.put("b",true);
        map.put("c","abc");
        return map;
    }
}
